//
//  KKCustomVideoView.h
//  DoMi
//
//  Created by 康凯 on 2016/12/20.
//  Copyright © 2016年 kk. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ASValueTrackingSlider.h"
#import "ZFPlayer.h"

#import "KKVideoPayDialog.h"

typedef void(^ChangeResolutionBlock)(UIButton *button);
typedef void(^SliderTapBlock)(CGFloat value);
typedef void(^FullScreenBlock)(UIButton *btn);

typedef void(^PayTypeBlock) (NSString *type,NSString *buyItem);
@interface KKCustomVideoView : UIView
@property (nonatomic , assign) BOOL isFreeVideo;
@property (nonatomic , copy) PayTypeBlock payTypeBlock;
@property (nonatomic , copy) NSString *videoId;
@property (nonatomic , copy) FullScreenBlock fullScreenBlock;
@property(strong,nonatomic) KKBuyVideoM *buyInfo;
-(void)closeAll;
@end
